  <recentvideos>
{section name=i loop=$recent start=4 max=12}
     <video>
          <vkey><![CDATA[ /?vkey={$recent[i].vkey}]]></vkey>
          <thumb>{if $recent[i].provider eq "yt"}http://img.youtube.com/vi/{$recent[i].flvdoname}/{$randthumb}.jpg{else}http://konkan.tv/thumb/{$randthumb}_{$recent[i].VID}.jpg{/if}</thumb>
          <title>{$recent[i].title|escape:'mail'|escape:'htmlall'|escape:'quotes'|strip|truncate:25:"...":true}</title>
          <viewtime>{insert name=timediff value=var time=$recent[i].viewtime}</viewtime>
          <description>{if $recent[i].featuredesc ne ""}{$recent[i].featuredesc|escape:'mail'|escape:'htmlall'|escape:"quotes"|strip|truncate:175:"...":true}{else}{$recent[i].description|escape:'mail'|escape:'htmlall'|escape:"quotes"|strip|truncate:75:"...":true}{/if}</description>
	  			<addtime>{insert name=time_range assign=rtime field=addtime IDFR=VID id=$recent[i].VID tbl=video}{$rtime}</addtime>
	  			<author>{if $recent[i].provider eq "yt"}{$recent[i].contentowner}{else}{insert name=id_to_name assign=uname un=$recent[i].UID}{$uname}{/if}</author>
	  			<views>{$recent[i].viewnumber}</views>
	  			<commentcount>{insert name=comment_count assign=commentcount vid=$featured[j].VID}{$commentcount}</commentcount>
     </video>
{/section}
  </recentvideos>
